-
Notifications
You must be signed in to change notification settings - Fork 7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
EuroSAT: fix SSL certificate issues #8563
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/vision/8563
Note: Links to docs will display an error until the docs builds have been completed. ❌ 7 New Failures, 2 Unrelated FailuresAs of commit e135137 with merge base c8c496d (): NEW FAILURES - The following jobs have failed:
FLAKY - The following jobs failed but were likely due to flakiness present on trunk:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
@@ -53,7 +56,7 @@ def download(self) -> None: | |||
|
|||
os.makedirs(self._base_folder, exist_ok=True) | |||
download_and_extract_archive( | |||
"https://madm.dfki.de/files/sentinel/EuroSAT.zip", | |||
"https://huggingface.co/datasets/torchgeo/eurosat/resolve/c877bcd43f099cd0196738f714544e355477f3fd/EuroSAT.zip", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could use hf.co
or main
to make this URL shorter if you want. I don't plan on modifying this file, but the commit hash ensures that even if I do, the checksum still works.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot @adamjstewart
Are the prototype datasets being abandoned? |
Yes, pretty much (https://github.com/pytorch/vision/tree/main/torchvision/prototype/datasets). |
Differential Revision: D60903714 fbshipit-source-id: cddb425b64f5b813fc96827bd839f013e2afeea5 Co-authored-by: Nicolas Hug <contact@nicolas-hug.com> Co-authored-by: Nicolas Hug <nh.nicolas.hug@gmail.com>
When downloading the EuroSAT dataset, users encounter the following error message:
This leads a lot of users to dangerous StackOverflow suggestions to disable SSL verification entirely.
This PR switches the download URL to a stable mirror of the download on Hugging Face. This dataset was rehosted with permission from the original author of EuroSAT: phelber/EuroSAT#10. The zip file is unmodified and has the same MD5 and SHA256 checksums.
Also added a link to a data loader for the multispectral (MS) version of the dataset for any other remote sensing researchers who need it.